﻿using UnityEngine;
using UnityEngine.UIElements;
using winS.UnityEditor.UIElement;

namespace winS.UnityEditor.ProcessEditor
{
    public class NodeContent : VisualElement
    {
        public static readonly Color defaultBackgroundColor = ColorLevelUtility.GetColor(1);

        public NodeContent()
        {
            name = "节点内容";
            pickingMode = PickingMode.Ignore;
            style.overflow = Overflow.Hidden;
            style.SetBorder(new Color32(0, 0, 0, 255), 2f, StepNode.nodeBorderRadius);
            style.SetBackgroundColor(defaultBackgroundColor);
        }
    }
}
